package com.whfc.fse.event;

import com.whfc.fse.dto.FseCraneRecordDTO;
import org.springframework.context.ApplicationEvent;

/**
 * @Description: 同步塔机历史数据事件
 * @author: xugcheng
 * @version: 1.0
 * @date: 2020-12-01 9:32
 */
public class SyncCraneRecordEvent extends ApplicationEvent {

    /**
     * 项目ID
     */
    private Integer deptId;

    /**
     * 塔机数据
     */
    private FseCraneRecordDTO recordDTO;

    public SyncCraneRecordEvent(Integer deptId, FseCraneRecordDTO recordDTO) {
        super(recordDTO);
        this.deptId = deptId;
        this.recordDTO = recordDTO;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public FseCraneRecordDTO getRecordDTO() {
        return recordDTO;
    }

    public void setRecordDTO(FseCraneRecordDTO recordDTO) {
        this.recordDTO = recordDTO;
    }
}
